package com.cb.service;

import com.alipay.api.AlipayApiException;
import com.cb.pojo.ScreeninFormation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface UserFilmService {
    String selectFilm(HashMap json,HttpServletRequest request);

    String selectFilmother(String active,String countries,String type,String markettime,int page,HttpServletRequest request) throws ParseException;

    String selectFilmName(String name,HttpServletRequest request);

    String selectFilmDetail(String id,HttpServletRequest request);

    String selectFilmcityandCinema(HashMap json,HttpServletRequest request) throws ParseException;

    String insertFilmeValuation(HashMap json,HttpServletRequest request) throws ParseException;

    String selectCityCinema(HashMap json, HttpServletRequest request);

    String selectCityCinemaName(HashMap json, HttpServletRequest request);

    String refund(String id, double price, double discount) throws AlipayApiException;

    String userrefund(HashMap json, HttpServletRequest request) throws ParseException, AlipayApiException;

    String yyidSelectsi(HashMap json, HttpServletRequest request) throws ParseException;

    String yyidSelectsiYyid(HashMap json, HttpServletRequest request) throws ParseException;

    String changeOrder(HashMap json, HttpServletRequest request) throws ParseException;

    String qrChangeOrder(HashMap json, HttpServletRequest request) throws ParseException, AlipayApiException;

    String filmeValuationLimit(HashMap json, HttpServletRequest request);

    String filmeScore(HashMap json, HttpServletRequest request);

    String cinemaDetails(HashMap json,HttpServletRequest request);

    String filmeSeatDetails(HashMap json,HttpServletRequest request);

    String SeatTest(@RequestBody HashMap json,HttpServletRequest request);
    //List<ScreeninFormation> selectScreeninFormationChange(String yyid, Date nowtime, String ypid);
}